home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / parallel-C disk ^1.adf / CHAN.H < prev    next >
Text File  |  1997-12-31  |  755b  |  32 lines

  1. /*
  2. ** chan.h
  3. **
  4. ** Header file for Parallel C's `chan' package
  5. **
  6. ** Rev 000 IAY  4-Nov-1987 Created
  7. */
  8.  
  9. #ifndef CHAN_H
  10. #define CHAN_H 1
  11. /*
  12. ** A channel contains a pointer to a process
  13. */
  14. typedef char *CHAN;
  15.  
  16. /*
  17. ** This is the value of a channel word when
  18. ** it is not actively communicating
  19. */
  20. #define NotProcess_P ((char *)0x80000000)
  21.  
  22. #define Link0Output  ((CHAN *)0x80000000)
  23. #define Link1Output  ((CHAN *)0x80000004)
  24. #define Link2Output  ((CHAN *)0x80000008)
  25. #define Link3Output  ((CHAN *)0x8000000C)
  26. #define Link0Input   ((CHAN *)0x80000010)
  27. #define Link1Input   ((CHAN *)0x80000014)
  28. #define Link2Input   ((CHAN *)0x80000018)
  29. #define Link3Input   ((CHAN *)0x8000001C)
  30. #define EventReq     ((CHAN *)0x80000020)
  31. #endif
  32.